package com.zego.wawaji.ui.center.pay.bean;

import com.zego.wawaji.base.data.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * 消费记录列表
 * Created by Su on 2017/12/8.
 */

public class ConsumeList extends BaseData {
    private List<Consume> consumeList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.consumeList = (List<Consume>) getBaseDataList(jsonArray, Consume.class);
    }

    public List<Consume> getConsumeList() {
        return consumeList;
    }
}
